Set
A generic unordered collection of elements that does not support duplicate elements. Methods in this interface support only read-only access to the set; read/write access is supported through the MutableSet interface.
Parameters
the type of elements contained in the set. The set is covariant in its element type.
Functions
Properties
Inheritors
Extensions
Returns a set containing all elements of the original set except the given element.
Returns a set containing all elements of the original set except the elements contained in the given elements array.
Returns a set containing all elements of the original set except the elements contained in the given elements collection.
Returns a set containing all elements of the original set except the elements contained in the given elements sequence.
Returns a set containing all elements of the original set and then the given element if it isn't already in this set.
Returns a set containing all elements of the original set and the given elements array, which aren't already in this set.
Returns a set containing all elements of the original set and the given elements collection, which aren't already in this set. The returned set preserves the element iteration order of the original set.
Returns a set containing all elements of the original set and the given elements sequence, which aren't already in this set.